package edu.xust.service;

import edu.xust.config.Resource;
import edu.xust.dao.AdminDao;
import edu.xust.entity.Admin;
import edu.xust.entity.AdminExample;
import edu.xust.page.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * @auther: zhangxin
 * @Description:
 */
public interface AdminService {

    public List<Admin> getAdminByPage(PageInfo pageInfo) throws Exception;
    List<Admin> selectByExample(AdminExample example);

    Integer addAdmin(Admin admin);

    Integer editAdmin(Admin admin);

    Admin getAdminById(Integer adId);

    Integer deleteAdminById(Integer adId);

}
